package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据产品信息维护对象 product
 * 
 * @author rss
 * @date 2023-09-03
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品id */
    private Long productId;

    /** 提供者id */
    @Excel(name = "提供者id")
    private Long provideId;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String type;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 产品标签 */
    @Excel(name = "产品标签")
    private String tag;

    /** 产品介绍 */
    private String introduction;

    /** 产品使用场景 */
    @Excel(name = "产品使用场景")
    private String scene;

    /** 产品大小 */
    private String size;

    /** 产品脱敏方式 */
    private String desMethod;

    /** 脱敏证明文件 */
    private String desFile;

    /** 加密证明文件 */
    private String encryptFile;

    /** 合规性文件 */
    private String comFile;

    /** 产品共享次数 */
    @Excel(name = "产品共享次数")
    private Long number;

    /** 发布时间 */
    private Date time;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProvideId(Long provideId) 
    {
        this.provideId = provideId;
    }

    public Long getProvideId() 
    {
        return provideId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setScene(String scene) 
    {
        this.scene = scene;
    }

    public String getScene() 
    {
        return scene;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setDesMethod(String desMethod) 
    {
        this.desMethod = desMethod;
    }

    public String getDesMethod() 
    {
        return desMethod;
    }
    public void setDesFile(String desFile) 
    {
        this.desFile = desFile;
    }

    public String getDesFile() 
    {
        return desFile;
    }
    public void setEncryptFile(String encryptFile) 
    {
        this.encryptFile = encryptFile;
    }

    public String getEncryptFile() 
    {
        return encryptFile;
    }
    public void setComFile(String comFile) 
    {
        this.comFile = comFile;
    }

    public String getComFile() 
    {
        return comFile;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("provideId", getProvideId())
            .append("type", getType())
            .append("name", getName())
            .append("tag", getTag())
            .append("introduction", getIntroduction())
            .append("scene", getScene())
            .append("size", getSize())
            .append("desMethod", getDesMethod())
            .append("desFile", getDesFile())
            .append("encryptFile", getEncryptFile())
            .append("comFile", getComFile())
            .append("number", getNumber())
            .append("time", getTime())
            .toString();
    }
}
